package Models;

public class POSDiscount {
    private int id;
    private String description;
    private double flatRate;
    private double pctRate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public double getFlatRate() {
        return flatRate;
    }

    public void setFlatRate(double flatRate) {
        this.flatRate = flatRate;
    }

    public double getPctRate() {
        return pctRate;
    }

    public void setPctRate(double pctRate) {
        this.pctRate = pctRate;
    }
    
    public String getDisplayString(){
        return Integer.toString(this.id) + " - " + this.description;
    }
}
